    {{--管理员--}}
    @if(AccountService::instance()->getAccountRole() == UserEnum::USER_ROLE_ADMINISTRATOR)
    <dl class="menuMain">
        <dt @if(Request::segment(1) == 'stuff') class="sel" @endif>
        <p><b @if(Request::segment(1) == 'stuff') class="active" @endif >人员管理</b>
            <span @if(Request::segment(1) == 'stuff') style="display:none;"@endif>+</span>
            <span @if(Request::segment(1) != 'stuff') style="display:none;"@endif>-</span>
        </p>
        <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'teacher') class="active" @endif
                href="/stuff/teacher">&gt; 教师列表</a>
        <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'student') class="active" @endif
                href="/stuff/student">&gt; 学生列表</a>
        <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'leader') class="active" @endif
                href="/stuff/leader">&gt; 组长列表</a>
        <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'provost') class="active" @endif
                href="/stuff/provost">&gt; 教务列表</a>
        <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'contact') class="active" @endif
                href="/stuff/contact">&gt; 学管列表</a>
        <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'advanced_leader') class="active" @endif
            href="/stuff/advanced_leader">&gt; 高管列表</a>
        </dt>
        <dd><a @if(Request::segment(1) == 'classes') class="active" @endif href="/classes">班级管理</a></dd>
        <dd><a @if(Request::segment(1) == 'permission') class="active" @endif href="/permission">权限信息</a></dd>
        <dt @if(Request::segment(1) == 'exercise') class="sel" @endif>
        <p><b @if(Request::segment(1) == 'exercise') class="active" @endif >题库管理</b>
            <span @if(Request::segment(1) == 'provost') style="display:none;"@endif>+</span>
            <span @if(Request::segment(1) != 'provost') style="display:none;"@endif>-</span>
        </p>
        <a @if(Request::segment(1) == 'exercise' && (
                    Request::segment(2) == 'item_store' ||
                    Request::segment(2) == 'my_item_store')) class="active" @endif
                    href="/exercise/item_store">&gt; 题库信息</a>
        <a @if(Request::segment(1) == 'exercise' && Request::segment(2) == 'mode_choose') class="active" @endif href="/exercise/mode_choose" >&gt; 我要录题</a>
        <a @if(Request::segment(1) == 'exercise' && (
                    Request::segment(2) == 'subject' ||
                    Request::segment(2) == 'item_type' ||
                    Request::segment(2) == 'knowledge' ||
                    Request::segment(2) == 'skill')) class="active" @endif
                    href="/exercise/subject">&gt; 题库管理</a>
        </dt>
        <dd><a @if(Request::segment(1) == 'publish') class="active" @endif href="/publish">布置作业</a></dd>
        <dd><a @if(Request::segment(1) == 'courses') class="active" @endif href="/courses/video_schedule">我的课程</a></dd>
        <dd><a @if(Request::segment(1) == 'learning') class="active" @endif href="/learning/student_list">学情查看</a></dd>
        <dd><a @if(Request::segment(1) == 'teaching') class="active" @endif href="/teaching/teacher_list">教学查看</a></dd>
        <dt @if(Request::segment(1) == 'provost') class="sel" @endif>
        <p><b>教务工作</b>
            <span @if(Request::segment(1) == 'provost') style="display:none;"@endif>+</span>
            <span @if(Request::segment(1) != 'provost') style="display:none;"@endif>-</span>
        </p>
        <a @if(Request::segment(1) == 'provost') class="active" @endif href="/provost">&gt; 教研组管理</a>
        </dt>
        <dd><a @if(Request::segment(1) == 'import') class="active" @endif href="/import">信息导入</a></dd>
    </dl>
    @endif

    {{--教师--}}
    @if(AccountService::instance()->getAccountRole() == UserEnum::USER_ROLE_TEACHER)
       <dl class="menuMain">
           <dd><a @if(Request::segment(1) == 'permission') class="active" @endif href="/permission">权限信息</a></dd>
           <dt @if(Request::segment(1) == 'exercise') class="sel" @endif>
           <p><b @if(Request::segment(1) == 'exercise') class="active" @endif >题库管理</b>
               <span @if(Request::segment(1) == 'provost') style="display:none;"@endif>+</span>
               <span @if(Request::segment(1) != 'provost') style="display:none;"@endif>-</span>
           </p>
           <a @if(Request::segment(1) == 'exercise' && (
                    Request::segment(2) == 'item_store' ||
                    Request::segment(2) == 'my_item_store')) class="active" @endif
           href="/exercise/item_store">&gt; 题库信息</a>
           <a @if(Request::segment(1) == 'exercise' && Request::segment(2) == 'mode_choose') class="active" @endif href="/exercise/mode_choose">&gt; 我要录题</a>
           </dt>
           <dd><a @if(Request::segment(1) == 'publish') class="active" @endif href="/publish">布置作业</a></dd>
           <dd><a @if(Request::segment(1) == 'courses') class="active" @endif href="/courses/video_schedule">我的课程</a></dd>
           <dd><a @if(Request::segment(1) == 'learning') class="active" @endif href="/learning/student_list">学情查看</a></dd>
       </dl>
   @endif

    {{--组长--}}
    @if(AccountService::instance()->getAccountRole() == UserEnum::USER_ROLE_LEADER)
        <dl class="menuMain">
            <dd><a @if(Request::segment(1) == 'permission') class="active" @endif href="/permission">权限信息</a></dd>
            <dt @if(Request::segment(1) == 'exercise') class="sel" @endif>
            <p><b @if(Request::segment(1) == 'exercise') class="active" @endif >题库管理</b>
                <span @if(Request::segment(1) == 'provost') style="display:none;"@endif>+</span>
                <span @if(Request::segment(1) != 'provost') style="display:none;"@endif>-</span>
            </p>
            <a @if(Request::segment(1) == 'exercise' && (
                    Request::segment(2) == 'item_store' ||
                    Request::segment(2) == 'my_item_store')) class="active" @endif
            href="/exercise/item_store">&gt; 题库信息</a>
            <a @if(Request::segment(1) == 'exercise' && Request::segment(2) == 'mode_choose') class="active" @endif href="/exercise/mode_choose">&gt; 我要录题</a>
            <a @if(Request::segment(1) == 'exercise' && (
                    Request::segment(2) == 'subject' ||
                    Request::segment(2) == 'item_type' ||
                    Request::segment(2) == 'knowledge' ||
                    Request::segment(2) == 'skill')) class="active" @endif
            href="/exercise/subject">&gt; 题库管理</a>
            </dt>
            <dd><a @if(Request::segment(1) == 'publish') class="active" @endif href="/publish">布置作业</a></dd>
            <dd><a @if(Request::segment(1) == 'courses') class="active" @endif href="/courses/video_schedule">我的课程</a></dd>
            <dd><a @if(Request::segment(1) == 'learning') class="active" @endif href="/learning/student_list">学情查看</a></dd>
            <dd><a @if(Request::segment(1) == 'teaching') class="active" @endif href="/teaching/teacher_list">教学查看</a></dd>
        </dl>
    @endif

    {{--教务--}}
    @if(AccountService::instance()->getAccountRole() == UserEnum::USER_ROLE_PROVOST)
        <dl class="menuMain">
            <dd><a @if(Request::segment(1) == 'permission') class="active" @endif href="/permission">权限信息</a></dd>
            <dt @if(Request::segment(1) == 'provost') class="sel" @endif>
            <p><b>教务工作</b>
                <span @if(Request::segment(1) == 'provost') style="display:none;"@endif>+</span>
                <span @if(Request::segment(1) != 'provost') style="display:none;"@endif>-</span>
            </p>
            <a @if(Request::segment(1) == 'provost') class="active" @endif href="/provost">&gt; 教研组管理</a>
            </dt>
        </dl>
    @endif

    {{--教务组长--}}
    @if(AccountService::instance()->getAccountRole() == UserEnum::USER_ROLE_PROVOST_LEADER)
        <dl class="menuMain">
            <dt @if(Request::segment(1) == 'stuff') class="sel" @endif>
            <p><b @if(Request::segment(1) == 'stuff') class="active" @endif >人员管理</b>
                <span @if(Request::segment(1) == 'stuff') style="display:none;"@endif>+</span>
                <span @if(Request::segment(1) != 'stuff') style="display:none;"@endif>-</span>
            </p>
            <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'teacher') class="active" @endif
            href="/stuff/teacher">&gt; 教师列表</a>
            <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'student') class="active" @endif
            href="/stuff/student">&gt; 学生列表</a>
            <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'leader') class="active" @endif
            href="/stuff/leader">&gt; 组长列表</a>
            <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'provost') class="active" @endif
            href="/stuff/provost">&gt; 教务列表</a>
            <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'contact') class="active" @endif
            href="/stuff/contact">&gt; 学管列表</a>
            </dt>
            <dd><a @if(Request::segment(1) == 'classes') class="active" @endif href="/classes">班级管理</a></dd>
            <dd><a @if(Request::segment(1) == 'permission') class="active" @endif href="/permission">权限信息</a></dd>
            <dt @if(Request::segment(1) == 'provost') class="sel" @endif>
            <p><b>教务工作</b>
                <span @if(Request::segment(1) == 'provost') style="display:none;"@endif>+</span>
                <span @if(Request::segment(1) != 'provost') style="display:none;"@endif>-</span>
            </p>
            <a @if(Request::segment(1) == 'provost') class="active" @endif href="/provost">&gt; 教研组管理</a>
            </dt>
        </dl>
    @endif

    {{--学管--}}
    @if(AccountService::instance()->getAccountRole() == UserEnum::USER_ROLE_CONTACT)
        <dl class="menuMain">
            <dd><a @if(Request::segment(1) == 'permission') class="active" @endif href="/permission">权限信息</a></dd>
            <dd><a @if(Request::segment(1) == 'learning') class="active" @endif href="/learning/student_list">学情查看</a></dd>
        </dl>
    @endif

    {{--高管--}}
    @if(AccountService::instance()->getAccountRole() == UserEnum::USER_ROLE_ADVANCED_LEADER)
        <dl class="menuMain">
            <dt @if(Request::segment(1) == 'stuff') class="sel" @endif>
            <p><b @if(Request::segment(1) == 'stuff') class="active" @endif >人员管理</b>
                <span @if(Request::segment(1) == 'stuff') style="display:none;"@endif>+</span>
                <span @if(Request::segment(1) != 'stuff') style="display:none;"@endif>-</span>
            </p>
            <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'teacher') class="active" @endif
            href="/stuff/teacher">&gt; 教师列表</a>
            <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'student') class="active" @endif
            href="/stuff/student">&gt; 学生列表</a>
            <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'leader') class="active" @endif
            href="/stuff/leader">&gt; 组长列表</a>
            <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'provost') class="active" @endif
            href="/stuff/provost">&gt; 教务列表</a>
            <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'contact') class="active" @endif
            href="/stuff/contact">&gt; 学管列表</a>
            <a @if(Request::segment(1) == 'stuff' && Request::segment(2) == 'advanced_leader') class="active" @endif
            href="/stuff/advanced_leader">&gt; 高管列表</a>
            </dt>
            <dd><a @if(Request::segment(1) == 'classes') class="active" @endif href="/classes">班级管理</a></dd>
            <dd><a @if(Request::segment(1) == 'permission') class="active" @endif href="/permission">权限信息</a></dd>
            <dd><a @if(Request::segment(1) == 'learning') class="active" @endif href="/learning/student_list">学情查看</a></dd>
            <dd><a @if(Request::segment(1) == 'teaching') class="active" @endif href="/teaching/teacher_list">教学查看</a></dd>
        </dl>
    @endif
